html {
  scroll-behavior: smooth;
}

body {
  width: 100vw;
  height: 100vh;
  background: #e4e4e4 !important; 
  margin: 0rem;
  padding-top: 100px;
  overflow-x: hidden;
}

* {
  margin: 0;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  user-select: none; /* Prevent text selection */
  -webkit-user-select: none; /* For Safari */
  -moz-user-select: none; /* For Firefox */
  -ms-user-select: none; /* For Internet Explorer/Edge */
}

.navbar {
  background-color: #e4e4e4 !important;
  border-bottom: 2px solid #3d3434 !important;
}

.navbar-brand h1 {
  color: #3d3434;
  font-family: "Gasoek One", sans-serif;
  font-size: 2rem;
}

.navbar-nav {
  gap: 2rem;
}

@media (min-width: 1200px) and (max-width: 1325px){
  .navbar-nav {
    gap: 0rem;
  }
}

.nav-link {
  color: #3d3434 !important;
}

.btn-custom {
  background-color: #d21913 !important;
  color: #fff !important;
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  padding: 0.5rem 1rem;
}

.offcanvas-header {
	background-color: #e4e4e4;
}

.offcanvas-body {
	background-color: #e4e4e4;
  font-family: "Gasoek One Regular", sans-serif;
  font-weight: 100;
  font-size: 2rem;
  color: #3d3434;
}

@media (max-width: 1199px) {
  .offcanvas-body {
    justify-content: center;
  }
}

@media (min-width: 1200px){
  .offcanvas-body {
    justify-content: end;
  }
}

@media (min-width: 320px) and (max-width: 374px){
  .offcanvas-body a {
    font-size: 2rem;
    line-height: 0.8;
  }
}

@media (min-width: 375px) and (max-width: 424px){
  .offcanvas-body a {
    font-size: 2rem;
    line-height: 0.8;
  }
}

@media (min-width: 425px) and (max-width: 767px){
  .offcanvas-header img {
    width: 40px;
  }
  
  .offcanvas-body a {
    font-size: 3rem;
    line-height: 0.8;
  }
}

@media (min-width: 768px) and (max-width: 1023px){
  .offcanvas-body a {
    font-size: 4rem;
    line-height: 0.8;
  }
}

@media (min-width: 1024px) and (max-width: 1199px){
  .offcanvas-body a {
    font-size: 6rem;
    line-height: 0.8;
  }
}

/* CONTENT */
.herosection {
  position: relative;
  width: 100vw;
  height: 100vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 3rem;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
  z-index: 1;
}

.hero-text {
  z-index: 2;
}

.hero-text h1 {
  color: white;
  font-family: 'Gasoek One', sans-serif;
  font-size: 8rem;
}

.all {
  margin: 2rem;
}

.all h2 {
  font-size: 4rem;
  font-family:'Gasoek One', sans-serif;
  color: #3d3434;
}

.all h3 {
font-size: 1.5rem;
font-family: 'Plus Jakarta Sans', sans-serif;
color: #3d3434;
text-decoration: none;
}

.all h4 {
  font-size: 2rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: #3d3434;
}

.all p {
  font-size: 1.5rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: #3d3434;
}

.contents {
  margin-top: 2rem;
  margin-left: 2rem;
}

.performance-card {
  border: 1px solid #3d3434;
  padding: 1rem;
  background: #e4e4e4;
}

.performance-card h3 {
  font-size: 2rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.performance-card img {
  width: 100%;
  max-width: 300px;
  height: 300px;
  object-fit: cover;
  margin-top: 1rem;
}

.dancers-card {
  border: 1px solid #3d3434;
  padding: 1rem;
  background: #e4e4e4;
}

.group-card-link {
  text-decoration: none !important;
}

.dancers-card img {
  width: 100%;
  max-width: 300px;
  height: 300px;
  object-fit: cover;
  margin-top: 1rem;
}

/* open classes */
.classes-video-thumb {
  width: 100%;
  cursor: pointer;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.classes-video-card {
  background-color: #e4e4e4;
  border: 1px solid #3d3434;
}

.classes-video-card h3 {
 font-family: 'Gasoek One Regular', sans-serif;
 font-weight: 100;
 font-size: 2rem;
}

.classes-video-card p {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1rem;
}

/* Modal Video Player Performances */
.video-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.9);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.video-modal video {
  width: 80%;
  max-height: 80%;
  background: black;
} 

/* COMMUNITY VIDEOS */
.community-video-thumb-wrapper {
  position: relative; /* new: allow absolute positioning for overlay text */
  aspect-ratio: 1/1;
  overflow: hidden;
  cursor: pointer;
}

/* Style video to fill container properly */
.community-video-thumb-wrapper video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Ensure any image inside (if ever used) scales nicely */
.community-video-thumb-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

/* Hover zoom effect remains for images */
.community-video-thumb-wrapper:hover img {
  transform: scale(1.05);
}

/* Position performer name overlay */
.community-video-thumb-wrapper .performer-name {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  margin: 0;
  font-size: 1.2rem;
  text-align: center;
  color: #fff;
  background: rgba(0, 0, 0, 0.5);
  padding: 0.3rem 0;
}

/* Modal Video Player Performances */
.video-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.9);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.video-modal video {
  width: 80%;
  max-height: 80%;
  background: black;
}

.contact-list i {
  margin-right: 10px;
}

.contact-list li {
  margin-bottom: 0.5rem;
}

@media (min-width: 320px) and (max-width: 424px){
.title h1 {
  font-size: 2rem;
}

.all h2 {
  font-size: 2rem;
}

.all h3 {
font-size: 1.5rem;
}

.all h4 {
  font-size: 1rem;
}

.all p {
  font-size: 1rem;
}

.performance-card img {
  max-width: 300px;
  height: 200px;
}

.dancers-card img {
  max-width: 300px;
  height: 200px;
}
}

@media (min-width: 425px) and (max-width: 767px){
.title h1 {
  font-size: 3rem;
}

.all h2 {
  font-size: 3rem;
}

.all h3 {
font-size: 2rem;
}

.all h4 {
  font-size: 1rem;
}

.all p {
  font-size: 1rem;
}
}

@media (min-width: 768px) and (max-width: 1023px){
.title h1 {
  font-size: 4rem;
}
}

@media (min-width: 1024px) and (max-width: 1439px){
.title h1 {
  font-size: 6rem;
}

.all {
  margin: 2rem;
}

.all h2 {
  font-size: 3rem;
}

.all h3 {
font-size: 1.5rem;
}

.all h4 {
  font-size: 1.5rem;
}

.all p {
  font-size: 1rem;
}

}